﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ICIA.ARojas.Web.Reportes
{
    public partial class DestinosPorGestion : System.Web.UI.Page
    {
        int gestion = 2012;

        protected void Page_Load(object sender, EventArgs e)
        {
            gestion = Convert.ToInt32(Request["gestion"]);
        }

        protected void Page_SaveStateComplete(object sender, EventArgs e)
        {
            Didsoft.Reporting.Microsoft.Report.RenderToPDF(ReportViewer1);
        }


        protected void ObjectDataSource1_Selecting(object sender, ObjectDataSourceSelectingEventArgs e)
        {
            e.InputParameters["gestion"] = gestion;
        }
    }
}